package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Inform;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InformDao {
    List<Inform> selectInformByPage(@Param("offset")Integer offset, @Param("limit")Integer limit);

    Integer selectCount();

    void insertInform(Inform inform);

    void deleteInform(Integer id);

    Inform selectOneInform(Integer id);

    void updateInform(Inform inform);
}
